package com.unsins.services;

import com.unsins.business.domain.system.ISysConstantRepository;
import com.unsins.business.domain.system.SysConstant;

/**
 * Created by IntelliJ IDEA.
 * User: odpsoft
 * Date: 2009-4-29
 * Time: 14:18:24
 */
public class SysConstantServiceImpl implements ISysConstantService {
    private ISysConstantRepository constantRepository;

    public void setSysConstantRepository(ISysConstantRepository repository) {
        constantRepository = repository;
    }

    public SysConstant getSysConstantById(Long id) {
        SysConstant constant = constantRepository.get(id);

        return constant;
    }
}
